.class Les/sf0$g;
.super Ljava/lang/Object;
.source "FinderDialog.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/sf0;->c()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/sf0;


# direct methods
.method constructor <init>(Les/sf0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/sf0$g;->a:Les/sf0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object p1, p0, Les/sf0$g;->a:Les/sf0;

    iget-object p1, p1, Les/nf0;->a:Landroid/content/Context;

    invoke-static {p1}, Lcom/jecelyin/editor/v2/d;->a(Landroid/content/Context;)Lcom/jecelyin/editor/v2/d;

    move-result-object p1

    invoke-virtual {p1}, Lcom/jecelyin/editor/v2/d;->f()Ljava/lang/String;

    move-result-object p1

    .line 2
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z

    move-result p1

    if-nez p1, :cond_0

    .line 3
    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object p1

    invoke-virtual {p1}, Ljava/io/File;->getPath()Ljava/lang/String;

    .line 4
    :cond_0
    iget-object p1, p0, Les/sf0$g;->a:Les/sf0;

    invoke-virtual {p1}, Les/nf0;->b()Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    move-result-object p1

    iget-object v0, p0, Les/sf0$g;->a:Les/sf0;

    invoke-virtual {v0}, Les/nf0;->b()Lcom/jecelyin/editor/v2/ui/JeEditorActivity;

    const/4 v0, 0x1

    invoke-static {p1, v0}, Lcom/jecelyin/editor/v2/utils/d;->b(Landroid/app/Activity;I)V

    return-void
.end method
